package com.itstudio.portal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itstudio.portal.entity.AuthInfo;
import com.itstudio.portal.entity.dto.AuthInfoDto;
import com.itstudio.portal.entity.dto.AuthQueryDto;
import com.itstudio.portal.entity.vo.AuthInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Author: zhaopengbo
 * @Date: 2024/11/12
 */
@Mapper
public interface AuthInfoMapper extends BaseMapper<AuthInfo> {
    public AuthInfoVo selectAuthInfoWithUserWithRole(@Param("userId") Long userId, @Param("id") Long id);
    public List<AuthInfoVo> selectAuthInfoByCondition(AuthQueryDto authQueryDto);

    public String selectIntroduceByUserId(@Param("userId") Long userId);

}
